package org.apache.rocketmq.example;

public class Test {
    public static void main(String[] args) {
        int x = Integer.MAX_VALUE + 1;
        int maskedX = x & 0x7FFFFFFF;
        System.out.println(maskedX);
    }
}
